# -*- coding: utf-8 -*-
from sqlalchemy import create_engine
from sqlalchemy.ext.declarative import declarative_base
from sqlalchemy.orm import sessionmaker

engine = create_engine('sqlite:///dbase2', echo=True, connect_args={'check_same_thread':False})

Base = declarative_base()

Session = sessionmaker()
session = Session(bind=engine)
SESSION_KEY = '_cp_username'
